package com.longjianghuasheng.logistics.business.order.viewmodel

import androidx.lifecycle.MutableLiveData
import com.longjianghuasheng.logistics.base.BaseMultiStateViewModel
import com.longjianghuasheng.logistics.entity.Order
import com.longjianghuasheng.logistics.network.apiService

class DriverOrderDetailViewModel : BaseMultiStateViewModel() {
    var id = 0
    var status = 0


    val driverResult by lazy {
        MutableLiveData<Order>()
    }

    fun driver_order_show() {
        getData({ apiService.driver_order_show(id) }, driverResult)
    }
}